package com.jumi.microservice.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import java.math.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-12-17 
 */

@TableName("jumi_invoice")
public class JumiInvoice  implements Serializable {

	private static final long serialVersionUID =  1246373226489852219L;

	/**
	 * ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 订单ID
	 */
	private Integer orderId;

	/**
	 * 订单编号
	 */
	private String orderNum;

	/**
	 * 发票抬头id
	 */
	private Integer invoiceId;

	/**
	 * 申请时间
	 */
	private Date applicationTime;

	/**
	 * 发票类型 0:电子发票
	 */
	private Byte invoiceType;

	/**
	 * 抬头类型、0：个人或事业单位、1：企业
	 */
	private Byte headType;

	/**
	 * 发票抬头  
	 */
	private String invoiceTitle;

	/**
	 * 开户银行
	 */
	private String bankDeposit;

	/**
	 * 银行账号
	 */
	private String bankAccount;

	/**
	 * 企业地址
	 */
	private String businessAddress;

	/**
	 * 企业电话
	 */
	private String enterpriseTel;

	/**
	 * 开票金额
	 */
	private BigDecimal invoiceAmount;

	/**
	 * 税号
	 */
	private String dutyParagraph;

	/**
	 * 发票图片
	 */
	private String invoicePicture;

	/**
	 * 是否撤销：0 否 1是
	 */
	private Byte isRevoke;

	/**
	 * 发票状态 ： 
0代开票，
1 已开票，
2 待更正，
3 已更正，
4 待冲红
5 已冲红，
6 不可开票
	 */
	private Byte invoiceStatus;

	/**
	 * 发票pdf
	 */
	private String invoicePdf;

	/**
	 * 流水号
	 */
	private String serialNumber;

	/**
	 * 冲红流水号
	 */
	private String redSerialNumber;

	/**
	 * 冲红发票
	 */
	private String redInvoicePdf;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderNum() {
		return this.orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getInvoiceId() {
		return this.invoiceId;
	}

	public void setInvoiceId(Integer invoiceId) {
		this.invoiceId = invoiceId;
	}

	public Date getApplicationTime() {
		return this.applicationTime;
	}

	public void setApplicationTime(Date applicationTime) {
		this.applicationTime = applicationTime;
	}

	public Byte getInvoiceType() {
		return this.invoiceType;
	}

	public void setInvoiceType(Byte invoiceType) {
		this.invoiceType = invoiceType;
	}

	public Byte getHeadType() {
		return this.headType;
	}

	public void setHeadType(Byte headType) {
		this.headType = headType;
	}

	public String getInvoiceTitle() {
		return this.invoiceTitle;
	}

	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle;
	}

	public String getBankDeposit() {
		return this.bankDeposit;
	}

	public void setBankDeposit(String bankDeposit) {
		this.bankDeposit = bankDeposit;
	}

	public String getBankAccount() {
		return this.bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getBusinessAddress() {
		return this.businessAddress;
	}

	public void setBusinessAddress(String businessAddress) {
		this.businessAddress = businessAddress;
	}

	public String getEnterpriseTel() {
		return this.enterpriseTel;
	}

	public void setEnterpriseTel(String enterpriseTel) {
		this.enterpriseTel = enterpriseTel;
	}

	public BigDecimal getInvoiceAmount() {
		return this.invoiceAmount;
	}

	public void setInvoiceAmount(BigDecimal invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}

	public String getDutyParagraph() {
		return this.dutyParagraph;
	}

	public void setDutyParagraph(String dutyParagraph) {
		this.dutyParagraph = dutyParagraph;
	}

	public String getInvoicePicture() {
		return this.invoicePicture;
	}

	public void setInvoicePicture(String invoicePicture) {
		this.invoicePicture = invoicePicture;
	}

	public Byte getIsRevoke() {
		return this.isRevoke;
	}

	public void setIsRevoke(Byte isRevoke) {
		this.isRevoke = isRevoke;
	}

	public Byte getInvoiceStatus() {
		return this.invoiceStatus;
	}

	public void setInvoiceStatus(Byte invoiceStatus) {
		this.invoiceStatus = invoiceStatus;
	}

	public String getInvoicePdf() {
		return this.invoicePdf;
	}

	public void setInvoicePdf(String invoicePdf) {
		this.invoicePdf = invoicePdf;
	}

	public String getSerialNumber() {
		return this.serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getRedSerialNumber() {
		return this.redSerialNumber;
	}

	public void setRedSerialNumber(String redSerialNumber) {
		this.redSerialNumber = redSerialNumber;
	}

	public String getRedInvoicePdf() {
		return this.redInvoicePdf;
	}

	public void setRedInvoicePdf(String redInvoicePdf) {
		this.redInvoicePdf = redInvoicePdf;
	}

}
